package com.ctsi.djcloudmqtt.dto.http;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class Takeoff2pointRequestDTO{

    @JsonProperty(value = "flight_id")
    private String flightId;

    /**
     * flyto 的飞行过程中能达到的最大速度
     */
    @JsonProperty(value = "max_speed")
    private Integer  maxSpeed;


    /**
     * 遥控器失控动作 {"0":"返航","1":"悬停","2":"降落"}
     */
    @JsonProperty("out_of_control_action")
    private Integer outOfControlAction;

    /**
     * 返航高度
     */
    @JsonProperty("rth_altitude")
    private Integer rthAltitude;

    /**
     * 安全起飞高度
     */
    @JsonProperty(value = "security_takeoff_height")
    private Integer securityTakeoffHeight;

    /**
     * 目标点高度
     */
    @JsonProperty(value = "target_height")
    private Integer targetHeight;


    /**
     * 目标点纬度(角度值)
     */
    @JsonProperty(value = "target_latitude")
    private Double targetLatitude;

    /**
     * 目标点经度(角度值)
     */
    @JsonProperty(value = "target_longitude")
    private Double targetLongitude;

}
